package com.gali.edu.mapper;

import com.gali.edu.pojo.Category;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface CategoryMapper {
    @Select("select * from t_category")
    public List<Category> selectAll();
}
